import Http, {HttpParamsProps, ReqProps} from "@/common/http";


class EntityWithdrawal {
    RowKey = "id"
    OPT = "withdrawalOpt"
    MAPPING = {withdrawalOpt: "处理提现"}

    selectTablePage(props: HttpParamsProps): Promise<Response> {
        return Http.get("/api/withdrawal/page", props)
    }


    doExec(props: ReqProps<void>) {
        Http.doPost("/api/withdrawal/examine", props)
    }

}

// eslint-disable-next-line import/no-anonymous-default-export
export default new EntityWithdrawal()